<%@ page language="java" contentType="text/html; charset=UTF-8"
	 pageEncoding="UTF-8" isErrorPage="true"%>
	<%
	if ( exception instanceof AuthenticationException) {
		String path = request.getPathInfo();
		//request.setAttribute("returnPath",path);
		//request.getRequestDispatcher("/login.jsp").forward(request,response);
	}
		//Throwable exception = (Throwable)request.getAttribute("javax.servlet.jsp.jspException");
	%>


<%@page import="java.io.PrintWriter"%>
<%@page import="com.zhangyj.security.AuthenticationException"%>
<div style="margin:0 auto; padding:0; text-align:center; font-size:14px;">
<div style="background-color: red"></div>
  <div id="container" style="padding:20px;width:600px;text-align:left;margin:80px auto;padding:0;border: 1px solid #CAE3FF;background:#F4F9FF">
  <strong><%=exception.getMessage()%> </strong>  ，请及时与 <strong>网站管理员</strong> 取得联系！<br />
  <br /> 或者您也可以联系开发者 <a href="http://www.boast.com">www.boast.com</a>
  </div>
	<div style="text-align:left;padding-left:10px;">
<pre>
<%exception.printStackTrace(new PrintWriter(out));%>
</pre>
	</div>
</div>
